package com.inossem.emergency.utils;

import android.app.Activity;

import com.inossem.emergency.R;
import com.inossem.emergency.bean.TrayReceiptTypeBean;
import com.inossem.emergency.constant.ItemStatusConstant;

import java.util.ArrayList;
import java.util.List;

/**
 * ----------
 * Author: Leo
 * Date: 2019/5/22
 * Email: 18304097708@163.com
 * Description:
 * ----------
 */

public class PickUtils {
    public static List<TrayReceiptTypeBean> initDown(Activity mActivity) {
        List<TrayReceiptTypeBean> listReceipt = new ArrayList<>();
        TrayReceiptTypeBean bean1 = new TrayReceiptTypeBean(ItemStatusConstant.STOCK_OUTPUT_SALE, "销售出库");
        TrayReceiptTypeBean bean2 = new TrayReceiptTypeBean(ItemStatusConstant.STOCK_OUTPUT_PURCHASE_RETURN, "采购退货");
        TrayReceiptTypeBean bean3 = new TrayReceiptTypeBean(ItemStatusConstant.STOCK_OUTPUT_MAT_REQ, "领料出库");
        TrayReceiptTypeBean bean4 = new TrayReceiptTypeBean(ItemStatusConstant.STOCK_OUTPUT_SCRAP, "报废出库");
        TrayReceiptTypeBean bean5 = new TrayReceiptTypeBean(ItemStatusConstant.STOCK_OUTPUT_OTHER, "其他出库");
        TrayReceiptTypeBean bean6 = new TrayReceiptTypeBean(ItemStatusConstant.TEMP_STOCK_OUTPUT_SALE, "临时销售出库");
        TrayReceiptTypeBean bean7 = new TrayReceiptTypeBean(ItemStatusConstant.TEMP_STOCK_OUTPUT_MAT_REQ, "临时领料出库");
        TrayReceiptTypeBean bean8 = new TrayReceiptTypeBean(ItemStatusConstant.CUS_TRANSPORT_OUT, "调拨出库");
        TrayReceiptTypeBean bean9 = new TrayReceiptTypeBean(ItemStatusConstant.CUS_SHIPBACK_OUT, "船返出库");
        TrayReceiptTypeBean bean10 = new TrayReceiptTypeBean(ItemStatusConstant.REPAIR_OUTPUT, "送修出库");
        TrayReceiptTypeBean bean11 = new TrayReceiptTypeBean(ItemStatusConstant.TEMP_TRANSPORT_OUT, "临时调拨出库");

        listReceipt.add(bean1);
        listReceipt.add(bean2);
        listReceipt.add(bean3);
        listReceipt.add(bean4);
        listReceipt.add(bean5);
        listReceipt.add(bean6);
        listReceipt.add(bean7);
        listReceipt.add(bean8);
        listReceipt.add(bean9);
        listReceipt.add(bean10);
        listReceipt.add(bean11);
        return listReceipt;
    }

    public static List<TrayReceiptTypeBean> initUp(Activity mActivity) {
        List<TrayReceiptTypeBean> listReceipt = new ArrayList<>();
        TrayReceiptTypeBean bean1 = new TrayReceiptTypeBean(ItemStatusConstant.STOCK_RETURN_MAT_REQ, "领料退库");
        TrayReceiptTypeBean bean2 = new TrayReceiptTypeBean(ItemStatusConstant.STOCK_INPUT_INSPECT, "验收入库");
        TrayReceiptTypeBean bean3 = new TrayReceiptTypeBean(ItemStatusConstant.STOCK_INPUT_OTHER, "其他入库");
        TrayReceiptTypeBean bean4 = new TrayReceiptTypeBean(ItemStatusConstant.CUS_TRANSPORT_IN, "调拨接收");
        TrayReceiptTypeBean bean5 = new TrayReceiptTypeBean(ItemStatusConstant.CUS_SHIPBACK_IN, "船返接收");
        TrayReceiptTypeBean bean6 = new TrayReceiptTypeBean(ItemStatusConstant.REPAIR_INPUT, "送修接收");
        TrayReceiptTypeBean bean7 = new TrayReceiptTypeBean(ItemStatusConstant.TEMP_TRANSPORT_IN, "临时调拨接收");
        TrayReceiptTypeBean bean8 = new TrayReceiptTypeBean(ItemStatusConstant.TEMP_STOCK_INPUT_INSPECT, "临时验收入库");
        listReceipt.add(bean1);
        listReceipt.add(bean2);
        listReceipt.add(bean3);
        listReceipt.add(bean4);
        listReceipt.add(bean5);
        listReceipt.add(bean6);
        listReceipt.add(bean7);
        listReceipt.add(bean8);

        return listReceipt;
    }
}
